Telegram Group & Telegram Channel
JavaScript. Что будет выведено в консоль?

Ответ: 3. Приоритет оператора && выше, чем ||, поэтому он выполнится первым. Результат 2 && 3 = 3, поэтому выражение приобретает вид null || 3 || 4. Теперь результатом является первое истинное значение - 3.



tg-me.com/projavascript/325
Create:
Last Update:

JavaScript. Что будет выведено в консоль?

Ответ: 3. Приоритет оператора && выше, чем ||, поэтому он выполнится первым. Результат 2 && 3 = 3, поэтому выражение приобретает вид null || 3 || 4. Теперь результатом является первое истинное значение - 3.

BY Javascript Pro




Share with your friend now:
tg-me.com/projavascript/325

View MORE
Open in Telegram


Javascript Pro Telegram | DID YOU KNOW?

Date: |

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Javascript Pro from in


Telegram Javascript Pro
FROM USA